﻿using System.Collections.Generic;
using System.Data;
using System.Net.Http;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace HuaJuanAudioNevolDown
{
    public interface IExtractor
    {
        Form _form { get; set; }
        string Site { get; }
        DataTable _novelData { get; set; }
        ToolStripProgressBar _pbRequestProcess { get; set; }
        string NovelName { get; set; }
        string NovelRealHost { get; set; }

        Task<List<SearchResultInfo>> Search(string searchtype, string searchword);
        Task ExtractAudioLinksAsync(string novelName, string url);

        Task ReExtractAudioLinksAsync(DataGridViewSelectedRowCollection SelectedRows);
    }
}
